﻿USE [NMA]
GO
/****** Object:  Table [dbo].[Poll]    Script Date: 04/13/2010 13:48:14 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Poll](
	[ID] [uniqueidentifier] NOT NULL,
	[Name] [nvarchar](50) NOT NULL,
	[Value] [int] NULL,
	[VoteDate] [datetime] NULL CONSTRAINT [DF_Poll_VoteDate]  DEFAULT (getdate()),
	[WhoVote] [nvarchar](30) NULL,
	[CreatedDate] [datetime] NOT NULL CONSTRAINT [DF_Poll_CreatedDate]  DEFAULT (getdate()),
	[UpdatedDate] [datetime] NULL CONSTRAINT [DF_Poll_UpdatedDate]  DEFAULT (getdate()),
	[CreatedUser] [nvarchar](30) NOT NULL,
	[UpdatedUser] [nvarchar](30) NULL,
 CONSTRAINT [PK_Poll_1] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
